package com.ruoyi.domain.basic;

import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;
import lombok.Data;

/**
 * BOM主表对象 mes_bom
 * @author ruoyi
 */
@Data
public class MesBom extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** BOM ID */
    private Long bomId;

    /** BOM编码 */
    @Excel(name = "BOM编码")
    private String bomCode;

    /** BOM名称 */
    @Excel(name = "BOM名称")
    private String bomName;

    /** 产品ID */
    @Excel(name = "产品ID")
    private Long productId;

    /** 产品编码 */
    @Excel(name = "产品编码")
    private String productCode;

    /** 产品名称 */
    @Excel(name = "产品名称")
    private String productName;

    /** 产品规格 */
    @Excel(name = "产品规格")
    private String productSpec;

    /** 单位 */
    @Excel(name = "单位")
    private String productUnit;

    /** BOM版本 */
    @Excel(name = "BOM版本")
    private String version;

    /** 状态（0正常 1停用） */
    @Excel(name = "状态", readConverterExp = "0=正常,1=停用")
    private String status;
}